package com.sskj.http.bean;

public class ParamBean {
    String value;
    String desc;

    public ParamBean() {

    }

    public ParamBean(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDesc() {
        if (desc == null) {
            return "";
        } else {
            return desc.replaceAll("<[\\s\\S].*?>", "");
        }
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
